﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RBS.Common;

namespace RBS.Core.BLL
{
    public class V_Deed
    {
        private readonly RBS.Core.DAL.V_Deed dal = new RBS.Core.DAL.V_Deed();
        public Model.V_Deed GetModel(int batchid)
        {
            return dal.GetModel(batchid);
        }


        /// <summary>
        /// 锁定状态
        /// </summary>
        /// <param name="id"></param>
        /// <param name="status"></param>
        /// <returns></returns>
        public bool UpdateBatchStateToLooked(int id)
        {
            return dal.UpdateAdvertisBatchState(id,(int)RBSEnums.DeedStatus.Looked);
        }
    }
}
